package Component;

public class Form extends Container{
    private String name;
    public Form(String name){
        super(name);
    }

    @Override
    public void add(Component com) {
        System.out.println("不支持此方法");
    }

    @Override
    public void remove(Component com) {
        System.out.println("不支持此方法");
    }

    @Override
    public Component getChild(int i) {
        System.out.println("不支持此方法");
        return null;
    }

    @Override
    public void usecontrol() {
        System.out.println("正在使用表单控件");
    }
}
